package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/*
 *@AUTHOR:LIUCHAO;
 *@DATE: 2020/9/11 20:30
 */
public interface OrderSettingDao {


    void add(OrderSetting orderSetting);

    long findCountByOrderDate(Date orderDate);

    void editNumberByOrderDate(OrderSetting orderSetting);



    List<OrderSetting> getOrderSettingByMonth(Map map);


    OrderSetting findOrderSettingByOrderDate(Date orderDate);

    void addOrderReservation(OrderSetting newOrderSetting);
}
